#include <iostream>
#include <conio.h>
using namespace std;

int main()
{

       int i;
       cin>> i;
       if (i>100,i<1000)
       {
           switch (i/100)
           {
           case 1: cout<<"one hundred ";
            break;
           case 2: cout<<"two hundred ";
            break;
           case 3: cout<<"three hundred ";
            break;
           case 4: cout<<"four hundred ";
            break;
           case 5: cout<<"five hundred ";
            break;
           case 6: cout<<"six hundred ";
            break;
           case 7: cout<<"seven hundred ";
            break;
           case 8: cout<<"eight hundred ";
            break;
           case 9: cout<<"nine hundred ";
            break;
           }
           switch ((i/10)%10)
           {
           case 1:cout<<"ten ";
            break;
           case 2:cout<<"twenty ";
            break;
           case 3:cout<<"thirty ";
            break;
           case 4: cout<<"forty ";
            break;
           case 5: cout<<"fivety ";
            break;
           case 6: cout<<"sixty ";
            break;
           case 7:cout<<"seventy ";
            break;
           case 8:cout<<"eightty ";
            break;
           case 9: cout<<"ninety ";
            break;
           }
       switch (i%10)
       {
       case 1:cout<<"one\n" ;
           break;
       case 2:cout<<"two\n";
        break;
       case 3:cout<<"three\n";
        break;
       case 4: cout<<"four\n";
        break;
       case 5: cout<<"five\n";
        break;
       case 6: cout<<"six\n";
        break;
       case 7: cout<<"seven\n";
        break;
       case 8: cout<<"eight\n";
        break;
       case 9: cout<<"nine\n";
        break;
       }

       }

getch();
    return main();
}
